package org.example.seckill.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.ToString;

/**
 * @author woopsion
 * @date 2025-06-30
 */
@Getter
@AllArgsConstructor
@ToString
public enum SeckillStatus {

    SALE_READY(1,"商品未开始秒杀"),
    SALE_ING(2,"秒杀进行中"),
    SALE_SUCCESS(3,"秒杀结束"),
    SALE_GOODS_UNEXIST(-1,"商品不存在"),
    SALE_GOODS_OUT(-2,"商品售罄");
    private final Integer status;
    private final String message;
}
